This repository was archived by the owner on Dec 15, 2022. It is now read-only.
add cjs file extension to grammars#666
Merged
darangi merged 1 commit intoatom:masterfrom Dec 11, 2019
Merged
Conversation
cause node is kinda retarded, I have to use .cjs extensions, but atom doesn't recognise them as js language
|
The .cjs file extension was fixed and merged into master a year ago, but there hasn't been a release since then. Is there a way to manually get this new version of master into my Atom client, or do I need to wait until the next release? Or maybe there is a way to manually add .cjs to the list of recognised file extensions (I had a look in my .apm directory but I couldn't figure out where it might be configured). |
Contributor
|
Hi @staplegun, I will confirm why it didn't get released, in the meantime, you can get this feature by cloning this repo and executing the following instructions
The above steps should help you link the repo to atom |
|
Thanks @darangi that worked perfectly. |
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the Change
I have to use .cjs extensions, but atom doesn't recognise them as js language, so I added the extension